Display Name = ""
Parallax Name = ""
Note = ""

CommonEvent 1
Name = "EV001"

  Page 0
    Comment(["明かり設定1"])
    Empty([])

CommonEvent 2
Name = "EV002"

  Page 0
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 366, 11, 6, 0, 0])
    Empty([])

CommonEvent 3
Name = "EV003"

  Page 0
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 366, 11, 6, 0, 0])
    Empty([])

CommonEvent 4
Name = "EV004"

  Page 0
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 366, 11, 6, 0, 0])
    Empty([])

CommonEvent 5
Name = "EV005"

  Page 0
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 366, 11, 6, 0, 0])
    Empty([])

CommonEvent 6
Name = "EV006"

  Page 0
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 366, 11, 6, 0, 0])
    Empty([])

CommonEvent 7
Name = "EV007"

  Page 0
    ConditionalBranch([12, "unlock_level < 2"])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["The chest is locked..."])
      ExitEventProcessing([])
      Empty([])

    BranchEnd([])
    PlaySE(["RPG::SE(@name=\"Chest\", @pitch=100, @volume=80)"])
    SetMoveRoute([0, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=36, @parameters=[])\", \"RPG::MoveCommand(@code=17, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=18, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
    Unnamed(["RPG::MoveCommand(@code=36, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=17, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    Unnamed(["RPG::MoveCommand(@code=18, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    ControlSelfSwitch(["A", 0])
    ChangeWeapons([102, 0, 0, 1])
    Empty([])

  Page 1
    Empty([])

CommonEvent 8
Name = "EV008"

  Page 0
    PlayBGM(["RPG::BGM(@name=\"boss0\", @volume=100, @pitch=100)"])
    ShowPicture([5, "80_yamatanooroti_st01", 0, 0, 0, 0, 100, 100, 0, 0])
    MovePicture([5, nil, 0, 0, 0, 0, 100, 100, 255, 0, 30, true])
    ShowTextAttributes(["yamatanooroti_fc1", 3, 0, 2])
    ShowText(["\\n<Yamata no Orochi>Are you the next sacrifice...?"])
    ShowText(["All it took was a simple threat for the village to send sacrifices one after another..."])
    ShowTextAttributes(["ruka_fc1", 0, 0, 2])
    ShowText(["\\n<Luka>We're not a sacrifice!"])
    ConditionalBranch([0, 4, 0])
      ShowTextAttributes(["alice_fc6", 0, 0, 2])
      ShowText(["\\n<Alice>Yamata no Orochi...! Luka, are you sure you want to challenge her?"])
      ShowTextAttributes(["alice_fc5", 2, 0, 2])
      ShowText(["\\n<Alice>She is known for her powerful strength among monsters. If you can't defeat her, we'd better get out of here."])
      Empty([])

    BranchEnd([])
    ConditionalBranch([0, 5, 0])
      ShowTextAttributes(["iriasu_fc4", 5, 0, 2])
      ShowText(["\\n<Ilias>Yamata no Orochi... Luka, do you intend to fight this monster?"])
      ShowTextAttributes(["iriasu_fc4", 7, 0, 2])
      ShowText(["\\n<Ilias>She is a considerable foe."])
      ShowText(["As much as I hate to turn my back on a monster, it would be wise to run if we cannot defeat her."])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["ruka_fc1", 0, 0, 2])
    ShowText(["\\n<Luka>........."])
    ShowChoices([["Challenge Her", "Run Away"], 2])
    When([0, "Challenge Her"])
      ShowTextAttributes(["ruka_fc1", 0, 0, 2])
      ShowText(["\\n<Luka>No, we'll fight!"])
      ShowTextAttributes(["yamatanooroti_fc2", 3, 0, 2])
      ShowText(["\\n<Yamata no Orochi>Oh, you're going to challenge me?"])
      ShowText(["Then witness the power of the one who rules the land of Yamatai!"])
      ConditionalBranch([4, 230, 0])
        ShowTextAttributes(["yamatanooroti_fc1", 3, 0, 2])
        ShowText(["\\n<Yamata no Orochi'>I too am Yamata, lord of Yamatai..."])
        ShowTextAttributes(["yamatanooroti_fc2", 3, 0, 2])
        ShowText(["\\n<Yamata no Orochi>With the two of us, we have sixteen heads... This shall be interesting. Let's fight!"])
        Empty([])
      BranchEnd([])
      ErasePicture([5])
      ChangeBattleBGM(["RPG::BGM(@name=\"boss1\", @volume=100, @pitch=100)"])
      ControlSwitches([22, 22, 0])
      BattleProcessing([0, 646, false, false])
      ControlSwitches([22, 22, 1])
      ChangeBattleBGM(["RPG::BGM(@name=\"battle\", @volume=100, @pitch=100)"])
      Script(["gain_medal(3007)"])
      PlayBGM(["RPG::BGM(@name=\"scene_epilogue2\", @volume=100, @pitch=100)"])
      ShowPicture([5, "80_yamatanooroti_st03", 0, 0, 0, 0, 100, 100, 0, 0])
      MovePicture([5, nil, 0, 0, 0, 0, 100, 100, 255, 0, 30, true])
      ConditionalBranch([4, 218, 0])
        ShowTextAttributes(["nyumaou_fc1", 0, 0, 2])
        ShowText(["\\n<Cow Demon Queen>Hmph, she wasn't so tough!"])
        Empty([])
      BranchEnd([])
      ShowTextAttributes(["yamatanooroti_fc3", 3, 0, 2])
      ShowText(["\\n<Yamata no Orochi>H-How could anyone have been able to overcome my power...\nWhat strength..."])
      ConditionalBranch([0, 4, 0])
        ShowTextAttributes(["alice_fc5", 1, 0, 2])
        ShowText(["\\n<Alice>The infamous Yamata no Orochi fell. With this, the villagers won't be so uneasy anymore."])
        Empty([])
      BranchEnd([])
      ConditionalBranch([0, 5, 0])
        ShowTextAttributes(["iriasu_fc4", 1, 0, 2])
        ShowText(["\\n<Ilias>Victory is ours. This will prevent you from terrorizing Yamatai Village any longer."])
        Empty([])
      BranchEnd([])
      ShowTextAttributes(["yamatanooroti_fc3", 3, 0, 2])
      ShowText(["\\n<Yamata no Orochi>My reputation is over... How shall I face the villagers from now on?"])
      ShowTextAttributes(["yamatanooroti_fc3", 3, 0, 2])
      ShowText(["\\n<Yamata no Orochi>Please, I ask that you bring me along on your journey. I won't be able to stand the villagers talking behind my back..."])
      ConditionalBranch([0, 6, 0])
        ShowTextAttributes(["sonia_fc4", 0, 0, 2])
        ShowText(["\\n<Sonya>She is surprisingly emotional..."])
        Empty([])
      Else([])
        ShowTextAttributes(["ruka_fc1", 0, 0, 2])
        ShowText(["\\n<Luka>She is surprisingly emotional..."])
        Empty([])
      BranchEnd([])
      ErasePicture([5])
      SetMoveRoute([0, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=37, @parameters=[])\", \"RPG::MoveCommand(@code=10, @parameters=[])\", \"RPG::MoveCommand(@code=39, @parameters=[])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
      Unnamed(["RPG::MoveCommand(@code=37, @parameters=[])"])
      Unnamed(["RPG::MoveCommand(@code=10, @parameters=[])"])
      Unnamed(["RPG::MoveCommand(@code=39, @parameters=[])"])
      Script(["add_actor_ex(230)"])
      PlayME(["RPG::ME(@name=\"fanfale\", @pitch=100, @volume=100)"])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["Yamata no Orochi joined the party!"])
      Wait([60])
      ControlSwitches([2317, 2317, 0])
      ShowTextAttributes(["yamatanooroti_fc1", 3, 0, 2])
      ShowText(["\\n<Yamata no Orochi>I suppose it's good to get out and stretch one's necks every now and then. Here I come, world!"])
      PlayBGM(["RPG::BGM(@name=\"dungeon_izumi\", @volume=100, @pitch=100)"])
      ExitEventProcessing([])
      Empty([])

    When([1, "Run Away"])
      ShowTextAttributes(["ruka_fc1", 0, 0, 2])
      ShowText(["\\n<Luka>I forgot my weapon at the inn! Let's head back!"])
      ErasePicture([5])
      Wait([60])
      SetMoveRoute([-1, "RPG::MoveRoute(@repeat=false, @skippable=true, @wait=false, @list=[\"RPG::MoveCommand(@code=22, @parameters=[])\", \"RPG::MoveCommand(@code=12, @parameters=[])\", \"RPG::MoveCommand(@code=12, @parameters=[])\", \"RPG::MoveCommand(@code=12, @parameters=[])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
      Unnamed(["RPG::MoveCommand(@code=22, @parameters=[])"])
      Unnamed(["RPG::MoveCommand(@code=12, @parameters=[])"])
      Unnamed(["RPG::MoveCommand(@code=12, @parameters=[])"])
      Unnamed(["RPG::MoveCommand(@code=12, @parameters=[])"])
      ShowTextAttributes(["yamatanooroti_fc2", 3, 0, 2])
      ShowText(["\\n<Yamata no Orochi>Kukuku, what a pitiful excuse...\nRun hero! Run away from the big bad monster!"])
      PlayBGM(["RPG::BGM(@name=\"dungeon_izumi\", @volume=100, @pitch=100)"])
      ExitEventProcessing([])
      Empty([])

    ChoicesEnd([])
    Empty([])

  Page 1
    Empty([])

CommonEvent 9
Name = "EV009"

  Page 0
    PlaySE(["RPG::SE(@name=\"Chest\", @pitch=100, @volume=80)"])
    SetMoveRoute([0, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=36, @parameters=[])\", \"RPG::MoveCommand(@code=17, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=18, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
    Unnamed(["RPG::MoveCommand(@code=36, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=17, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    Unnamed(["RPG::MoveCommand(@code=18, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    ControlSelfSwitch(["A", 0])
    ChangeItems([211, 0, 0, 1])
    Empty([])

  Page 1
    Empty([])

CommonEvent 10
Name = "EV010"

  Page 0
    PlaySE(["RPG::SE(@name=\"Chest\", @pitch=100, @volume=80)"])
    SetMoveRoute([0, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=36, @parameters=[])\", \"RPG::MoveCommand(@code=17, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=18, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
    Unnamed(["RPG::MoveCommand(@code=36, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=17, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    Unnamed(["RPG::MoveCommand(@code=18, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["The treasure chest was a Boxed Girl!"])
    BattleProcessing([0, 606, false, false])
    ControlSelfSwitch(["A", 0])
    Empty([])

  Page 1
    Empty([])
